﻿using System;
using System.Collections.Generic;

namespace PARK.Consumer.Entitys.Dto.ConsumBill
{
    /// <summary>
    /// 消费记录输出参数
    /// </summary>
    public class ConsumBillInfoOutput
    {
        /// <summary>
        /// 
        /// </summary>
        public string id { get; set; }
        
        /// <summary>
        /// 消费机Id
        /// </summary>
        public string machineId { get; set; }
        
        /// <summary>
        /// 消费机编号
        /// </summary>
        public string machineNo { get; set; }
        
        /// <summary>
        /// 消费机名称
        /// </summary>
        public string machineName { get; set; }
        
        /// <summary>
        /// 商户Id
        /// </summary>
        public string merchantId { get; set; }
        
        /// <summary>
        /// 商户编号
        /// </summary>
        public string merchantCode { get; set; }
        
        /// <summary>
        /// 商户名称
        /// </summary>
        public string merchantName { get; set; }
        
        /// <summary>
        /// 消费卡号
        /// </summary>
        public string cardNo { get; set; }
        
        /// <summary>
        /// 扣费方式 1刷卡  2刷码
        /// </summary>
        public int? consumKind { get; set; }
        
        /// <summary>
        /// 刷码,码内容
        /// </summary>
        public string consumQRcode { get; set; }
        
        /// <summary>
        /// 用户Id
        /// </summary>
        public string employeeId { get; set; }
        
        /// <summary>
        /// 工号
        /// </summary>
        public string jobNo { get; set; }
        
        /// <summary>
        /// 姓名
        /// </summary>
        public string reallName { get; set; }
        
        /// <summary>
        /// 部门Id
        /// </summary>
        public string departId { get; set; }
        
        /// <summary>
        /// 部门
        /// </summary>
        public string departName { get; set; }
        
        /// <summary>
        /// 本次消费额
        /// </summary>
        public decimal txnTotalAmt { get; set; }
        
        /// <summary>
        /// 个人账户消费额
        /// </summary>
        public decimal accConsAmt { get; set; }
        
        /// <summary>
        /// 个人账户消费前余额
        /// </summary>
        public decimal accBalBef { get; set; }
        
        /// <summary>
        /// 个人账户消费后余额
        /// </summary>
        public decimal accBalAfter { get; set; }
        
        /// <summary>
        /// 福利账户消费额
        /// </summary>
        public decimal welfareConsAmt { get; set; }
        
        /// <summary>
        /// 福利账户消费前余额
        /// </summary>
        public decimal welfareBalBef { get; set; }
        
        /// <summary>
        /// 福利账户消费后余额
        /// </summary>
        public decimal welfareBalAfter { get; set; }
        
        /// <summary>
        /// 交易流水号
        /// </summary>
        public string txnSeq { get; set; }
        
        /// <summary>
        /// 交易时间
        /// </summary>
        public DateTime? txnDate { get; set; }
        
        /// <summary>
        /// 交易结果 1成功 0失败
        /// </summary>
        public string txnResult { get; set; }
        
        /// <summary>
        /// 
        /// </summary>
        public DateTime? dbDate { get; set; }
        
        /// <summary>
        /// 请求扣费流水Id
        /// </summary>
        public string requestId { get; set; }
        
        /// <summary>
        /// 
        /// </summary>
        public long sortCode { get; set; }
        
        /// <summary>
        /// 
        /// </summary>
        public string summary { get; set; }
        
        /// <summary>
        /// 
        /// </summary>
        public int? isAnaly { get; set; }
        
        /// <summary>
        /// 交易明细Id
        /// </summary>
        public string detailId { get; set; }


        /// <summary>
        /// 消费方式0在线 1离线
        /// </summary> 
        public int payWay { get; set; }

        /// <summary>
        /// 所属公司Id
        /// </summary>
        public string CompanyId { get; set; }

        /// <summary>
        /// 所属公司名称
        /// </summary>
        public string CompanyName { get; set; }

        #region 调账信息
        /// <summary>
        /// 调账消费额
        /// </summary>
        public decimal adjustAmt { get; set; }
        /// <summary>
        /// 个人账户消费额_调整后
        /// </summary>
        public decimal ajtAccConsAmt { get; set; }
        /// <summary>
        /// 个人账户消费前余额_调整后
        /// </summary>
        public decimal ajtAccBalBef { get; set; }
        /// <summary>
        /// 个人账户消费后余额_调整后
        /// </summary>
        public decimal ajtAccBalAfter { get; set; }
        /// <summary>
        /// 福利账户消费额_调整后
        /// </summary>
        public decimal ajtWelfareConsAmt { get; set; }
        /// <summary>
        /// 福利账户消费前余额_调整后
        /// </summary>
        public decimal ajtWelfareBalBef { get; set; }
        /// <summary>
        /// 福利账户消费后余额_调整后
        /// </summary>
        public decimal ajtWelfareBalAfter { get; set; }

        /// <summary>
        /// 调账时间
        /// </summary>
        public string ajtDate { get; set; }

        /// <summary>
        /// 调账人
        /// </summary>
        public string ajtUser { get; set; }

        /// <summary>
        /// 调账人
        /// </summary>
        public string ajtUserName { get; set; }
        #endregion

    }
}
